package com.sprucetec.livechat.constants;

/**
 * @ClassName MqConstant
 * @Description:
 * @Author Kenny
 * @Date 2020/4/4
 **/
public class MqConstant {
    public static final String TOPIC = "LIVE_CHAT"; //主题
    public static class ChatMq {
        public static final String TAG = "chat_tag"; //发起聊天tag
        public static final String onlineUserNum = "LIVE:OL:U:NUM:"; //在线人存储
    }

    public static class VideoDataMq {
        public static final String TAG = "live2020_videoData"; //主题
        public static final String KEY = "live2020_videoData_key"; //主题
        public static final String USER_AWAY = "user_away";
        public static final String USER_AWAY_KEY = "user_away_key"; //主题
    }

    public static class NettyMessageMq {
        public static final String TAG_NETTY_CHANNEL_REMOVE = "live2020_nettyChannelRemove"; // 聊天channel断开消息tag
        public static final String TAG_NETTY_CHANNEL_REMOVE_KEY = "live2020_nettyChannelRemoveKey"; // 聊天channel断开消息tag



        public static final String TAG_NETTY_VIDEO_CLOSE = "live2020_nettyVideoClose"; // 直播平台关闭直播
        public static final String TAG_NETTY_VIDEO_CLOSE_KEY = "live2020_nettyVideoCloseKey"; // 直播平台关闭直播
    }


    /**
     * redis队列
     */
    public static class NettyMessageRedisMq {
        public static final String REDISMSGCHAT = "chatMessage"; // netty Server mq
        public static final String REDISMSGCHATREMOVE = "chatClose"; // netty Server mq
    }

}
